package cn.tiancaifan.micro.mapper;


import cn.tiancaifan.micro.entity.Role;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface RoleMapper {

    @Select("select * from role")
    List<Role> getAlllRoles();

    Integer insert(Role role);

    Integer deleteByPrimaryKey(Integer rid);

}
